<%--
  Created by IntelliJ IDEA.
  User: voove
  Date: 2019/2/16
  Time: 16:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
    <title>ITPMP</title>
    <%@ include file="common.jsp" %>
</head>
<body>
<%@ include file="top.jsp" %>
<%@ include file="navi.jsp" %>
<div id="main-content">
    <div class="list_main">
        <div class="top_box">
            <div class="fl">
                <h1>初始化资源</h1>
                <p><a href="index.jsp">Home</a><em>/</em><a href="javascript:void(0)">System</a><em>/</em>Initiative</p>
            </div>
        </div>
        <div class="padding20">
            <div class="system_button">
                <a href="javascript:void(0);"  class="btn btn-success" onclick="initiativeArea()">初始化Area表</a>
            </div>
        </div>
    </div>


</div>
<!--修改密码-->
<%@ include file="changePassword.jsp" %>

<script type="text/javascript" src="js/kol.js"></script>
<script>
    $('#main-content').height($('body').height()-0);
    $('.list_main').height($('#main-content').height()-61);
    $('.padding20').height($('.list_main').height()-111);
    $(window).resize(function(){
        $('#main-content').height($('body').height()-0);
        $('.list_main').height($('#main-content').height()-61);
        $('.padding20').height($('.list_main').height()-111);
        $('#tt').datagrid('resize');
    });
</script>
<script>
    function initiativeArea() {
        $.ajax({
            url : 'initiative/initArea',
            type : 'post',
            data : {},
            dataType : 'json',
            success : function(result){
                $.messager.alert("提示","初始化成功！");
            }
        });
    }
</script>
</body>
</html>

